export const serverUrl = "http://localhost:3000";

//设置token
export const setToken = token => sessionStorage.setItem('token', token)

//获取token
export const getToken = () => sessionStorage.getItem('token')

export const removeToken = () => sessionStorage.removeItem("token");

// 判断是否登录 
export const isLogined = () => getToken() ? true : false
